<!doctype html>
<html>
<head>
	<title></title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"></meter>
	<script src="js/jquery.min.js"></script>
	<!-- iosOverlay -->
	<link rel="stylesheet" href="Tip/iosOverlay/iosOverlay.css">
	<script src="Tip/iosOverlay/iosOverlay.js"></script>
	<script src="Tip/iosOverlay/spin.min.js"></script>
	<!-- sweetalert -->
	<script src="Tip/SweetAlert/sweetalert.min.js"></script>  
	<link rel="stylesheet" href="Tip/SweetAlert/sweetalert.css">
	<!-- common -->
	<script src="Tip/common.js"></script>
</head>
<body>

    <p class="container">
      <a href="javascript:void(0)" onclick="Mobile.Tip.loading()">loading</a>
      <a href="javascript:void(0)" onclick="Mobile.Tip.Showloading()">Showloading</a>
      <a href="javascript:void(0)" onclick="Mobile.Tip.Hideloading()">Hideloading</a>
    </p>
    <p class="container">
      <a href="javascript:void(0)" onclick="Mobile.Tip.success()">success</a>
      <a href="javascript:void(0)" onclick="Mobile.Tip.error()">error</a>
    </p>
    <hr>
    <p>
    	<a href="javascript:void(0)" onclick="Mobile.SweetAlert.alert({title:'大标题',text:'<span>小标题</span>'})">alert</a>
    	<a href="javascript:void(0)" onclick="Mobile.SweetAlert.success()">success</a>
    	<a href="javascript:void(0)" onclick="Mobile.SweetAlert.error()">error</a>
    </p>
    <p>
    	<button class="conform">conform</button>
    	<button class="custom">custom</button>
    	<button class="transport">transport</button>
    </p>
    <hr>
    <p>
    	<button class="ajax">ajaxService</button>
    </p>
<script type="text/javascript">
	$(".conform").bind("click",function(){
		Mobile.SweetAlert.confirm({title:"title",text:"text",callback:function(){
			console.log("123")
		}})
	});
	$(".custom").bind("click",function(){
		Mobile.SweetAlert.custom()
	});
	$(".transport").bind("click",function(){
		Mobile.SweetAlert.transport()
	});
	$(".ajax").bind("click",function(){
		var data = "功夫";
		var url = "http://op.juhe.cn/onebox/movie/video?q="+data;
		Mobile.Ajax.ajaxService(url,data,function(data){
			console.log(data)
		})
	})
</script>
</body>
</html>